package com.bocloud.kong.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/3/17.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Upstream extends BaseModel {
    private static final long serialVersionUID = 6983657254603295593L;

    private String id;
    private Date created_at;
    private String name;
    private Integer slots;
    private List<Integer> orderlist;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Date created_at) {
        this.created_at = created_at;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSlots() {
        return slots;
    }

    public void setSlots(Integer slots) {
        this.slots = slots;
    }

    public List<Integer> getOrderlist() {
        return orderlist;
    }

    public void setOrderlist(List<Integer> orderlist) {
        this.orderlist = orderlist;
    }
}
